// 编辑器接口
const router = require('koa-router')();
const settingController = require('../controller/settingController')

router.prefix('/api');

//===== 模块操作 =====
// 左侧模块列表
router.get('/getSetting', settingController.onGetSetting);
// 增加/保存模块
router.post('/saveSetting', settingController.onSaveSetting);

module.exports = router;
